﻿<%@ Page Title="" Language="C#" MasterPageFile="~/hgmanage/Main.Master" AutoEventWireup="true"
    CodeBehind="News.aspx.cs" Inherits="huaguwang.hgmanage.News.News" %>

<%@ Register Assembly="HGWebControls" Namespace="huaguwang.WebControls" TagPrefix="cc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Import Namespace="huaguwang"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="server">
    <input id="HiddenID" name="HiddenID" type="hidden" value="" />
    <cc1:WebUserToolBar ID="WebUserToolBar1" runat="server" OnButton0="WebUserToolBar1_Button0"
        OnButton1="WebUserToolBar1_Button1" OnButton2="WebUserToolBar1_Button2" OnButton3="WebUserToolBar1_Button3"
        CssClass="toolbar" ButtonCSS="btn_done">
    </cc1:WebUserToolBar>
    <div class="search_box"> 
        <ul>
            <li> 
                <p>
                    <em>新闻标题</em><asp:TextBox ID="txtTitle" runat="server"></asp:TextBox></p>
            </li>
            <li>
                <p>
                    <em>新闻类别</em><asp:TextBox ID="txtCateTitle" runat="server"></asp:TextBox></p>
            </li>
        </ul>
    </div>
    <div class="result_list">
        <dl class="mul_table">
            <asp:Repeater ID="Repeater1" runat="server">
                <HeaderTemplate>
                    <dt>
                        <ul>
                            <li style="width: 10%">选择<input id="CheckboxALL" name="DataCheckALL" type="checkbox"
                                onclick="javascript:CheckAllDefault(this);" /></li>
                            <li style="width: 30%">新闻名称</li>
                            <li style="width: 10%">新闻类别</li>
                            <li style="width: 10%">是否置顶</li>
                            <li style="width: 10%">是否推荐</li>
                        </ul>
                    </dt>
                </HeaderTemplate>
                <ItemTemplate>
                    <dd <%#(Container.ItemIndex % 2==0)?"class='odd'":"" %>
                    onmouseover="javascript:limouseover(this);" onmouseout="javascript:limouseout(this);">
                        <ul>
                            <li style="width: 10%">
                                <input id="Checkbox<%#Eval("id") %>" name="DataCheck" type="checkbox" value="<%#Eval("id") %>" />
                            </li>
                            <li style="width: 30%" title="<%#Eval("Title") %>">
                                <%#Eval("Title").Exp_Trim().Exp_SubStringByLength(40,"") %></li>
                            <li style="width: 10%" title="<%#Eval("CateTitle") %>">
                                <%#Eval("CateTitle") %></li>
                            <li style="width: 10%">
                                <%#Eval("Topis") %>
                            </li>
                            <li style="width: 10%">
                                <%#Eval("RemSign") %>
                            </li>
                        </ul>
                    </dd>
                </ItemTemplate>
            </asp:Repeater>
        </dl>
    </div>
    <div class="pagebar">
    <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" FirstPageText="首页"
        HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
        ShowCustomInfoSection="Left" showinputbox="Never" ShowNavigationToolTip="True" PageSize="10"
        CustomInfoHTML="第%CurrentPageIndex%页/共%PageCount%页/共%RecordCount%条记录" OnPageChanging="Pager_PageChanging"
        TextAfterPageIndexBox="" CustomInfoSectionWidth="40%" CustomInfoStyle="text-align:left"
        PagingButtonLayoutType="None">
    </webdiyer:AspNetPager>
    </div>
</asp:Content>
